#include <stdio.h>

// 定义枚举类型
enum Seasons{
  SPRING=1,
  SUMMER,
  AUTUMN,
  WINTER,
};
 
int main(void){
    int num=0;
    printf("请选择你喜欢的季节:\n");
    printf("\t1.春天\n");
    printf("\t2.夏天\n");
    printf("\t3.秋天\n");
    printf("\t4.冬天\n");
    printf("请输入序号:");
    scanf("%d",&num);
    switch (num){
      case SPRING:
        printf("你选择的是春天\n");
        break;
      case SUMMER:
        printf("你选择的是夏天\n");
        break;
      case AUTUMN:
        printf("你选择的是秋天\n");
        break;
      case WINTER:
        printf("你选择的是冬天\n");
        break;
      default:
      printf("输入错误\n");
        break;
    }   
    return 0;
}